package com.dbdata.move.model;

// Generated cafuc by Hibernate Tools 4

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * UserBaseInfo generated by hbm2java
 */
@Entity
@Table(name = "user_base_info")
public class UserBaseInfo implements java.io.Serializable {

	private Long id;
	private Organize organize;
	private String userName;
	private String spell;
	private String passport;
	private String identityCard;
	private String email;
	private byte userType;
	private String phone;
	private Date createDate;
	private String headImgUrl;
	private byte accountState;
	private boolean sex;
	private boolean trainState;
	private String nation;
	private String nativePlace;
	private String politicsStataus;
	private String homeAddress;
	private String postcode;
	private boolean deleted;
	private String pinYinSx;
	private boolean canNotCertification;
	private boolean canTransform;
	private byte userState;
	private Set<SimulatorTaskDocDetails> simulatorTaskDocDetailsesForTeacherId = new HashSet<SimulatorTaskDocDetails>(
			0);
	private Set<MessageRelatedPerson> messageRelatedPersons = new HashSet<MessageRelatedPerson>(
			0);
	private Set<TrainNoticePartUserBaseInfo> trainNoticePartUserBaseInfos = new HashSet<TrainNoticePartUserBaseInfo>(
			0);
	private Set<AuthGroup> authGroupsForOperatorId = new HashSet<AuthGroup>(0);
	private Set<SysUser> sysUsersForOperatorId = new HashSet<SysUser>(0);
	private Set<TrainNotice> trainNotices = new HashSet<TrainNotice>(0);
	private Set<SimulatorTaskDocDetails> simulatorTaskDocDetailsesForLeftUser = new HashSet<SimulatorTaskDocDetails>(
			0);
	private Set<License> licenses = new HashSet<License>(0);
	private Set<SysUser> sysUsersForUserBaseInfoId = new HashSet<SysUser>(0);
	private Set<FlyTrainRecord> flyTrainRecords = new HashSet<FlyTrainRecord>(0);
	private Set<TrainPlan> trainPlansForCreateUserId = new HashSet<TrainPlan>(0);
	private Set<TrainStandard> trainStandards = new HashSet<TrainStandard>(0);
	private Set<QualityInspection> qualityInspections = new HashSet<QualityInspection>(
			0);
	private Teacher teacher;
	private Set<TaskDoc> taskDocsForCreaterId = new HashSet<TaskDoc>(0);
	private Set<StudentResit> studentResitsForDirectorId = new HashSet<StudentResit>(
			0);
	private Set<SimulatorTaskDoc> simulatorTaskDocsForCreaterId = new HashSet<SimulatorTaskDoc>(
			0);
	private Set<Journal> journals = new HashSet<Journal>(0);
	private Set<MainpointCertificate> mainpointCertificates = new HashSet<MainpointCertificate>(
			0);
	private Set<TaskDocDetails> taskDocDetailsesForLeftUser = new HashSet<TaskDocDetails>(
			0);
	private Set<SimulatorTaskDocDetails> simulatorTaskDocDetailsesForRightUser = new HashSet<SimulatorTaskDocDetails>(
			0);
	private Set<SimulatorTaskDoc> simulatorTaskDocsForOperatorId = new HashSet<SimulatorTaskDoc>(
			0);
	private Set<MessageContent> messageContentsForToUserId = new HashSet<MessageContent>(
			0);
	private Set<QualityPerson> qualityPersonsForTeacherId = new HashSet<QualityPerson>(
			0);
	private Set<StudentRecommend> studentRecommendsForRefereeId = new HashSet<StudentRecommend>(
			0);
	private Set<TrainPlan> trainPlansForTeacherId = new HashSet<TrainPlan>(0);
	private Set<StudentRecommend> studentRecommendsForCheckerId = new HashSet<StudentRecommend>(
			0);
	private Set<SkillVerify> skillVerifiesForTeacherId = new HashSet<SkillVerify>(
			0);
	private Set<StudyExperience> studyExperiences = new HashSet<StudyExperience>(
			0);
	private Set<MainPointStudyResult> mainPointStudyResults = new HashSet<MainPointStudyResult>(
			0);
	private Set<TaskDocDetails> taskDocDetailsesForCrewUser = new HashSet<TaskDocDetails>(
			0);
	private Set<Audit> auditsForAuditUser = new HashSet<Audit>(0);
	private UserFlyInfo userFlyInfo;
	private Set<TaskDocDetails> taskDocDetailsesForRightUser = new HashSet<TaskDocDetails>(
			0);
	private Set<StudentResit> studentResitsForStudentId = new HashSet<StudentResit>(
			0);
	private Set<AuthGroup> authGroupsForCreaterId = new HashSet<AuthGroup>(0);
	private Set<TeacherStudent> teacherStudentsForStudentId = new HashSet<TeacherStudent>(
			0);
	private Set<TrainRecord> trainRecordsForTrainUserId = new HashSet<TrainRecord>(
			0);
	private Set<Handbook> handbooks = new HashSet<Handbook>(0);
	private Set<UserBaseInfoMainPoint> userBaseInfoMainPoints = new HashSet<UserBaseInfoMainPoint>(
			0);
	private Set<WorkExperience> workExperiences = new HashSet<WorkExperience>(0);
	private Set<Audit> auditsForCreateUser = new HashSet<Audit>(0);
	private Set<TeacherOtherTime> teacherOtherTimes = new HashSet<TeacherOtherTime>(
			0);
	private Set<SysUser> sysUsersForCreaterId = new HashSet<SysUser>(0);
	private Set<TaskDocDetails> taskDocDetailsesForDutyTeacher = new HashSet<TaskDocDetails>(
			0);
	private Set<StudentRecommend> studentRecommendsForStudentId = new HashSet<StudentRecommend>(
			0);
	private Set<TaskDoc> taskDocsForOperatorId = new HashSet<TaskDoc>(0);
	private Set<TrainPlan> trainPlansForStudentId = new HashSet<TrainPlan>(0);
	private Student student;
	private Set<TeacherStudent> teacherStudentsForTeacherId = new HashSet<TeacherStudent>(
			0);
	private Set<MessageContent> messageContentsForFromUserId = new HashSet<MessageContent>(
			0);
	private Set<TrainRecord> trainRecordsForPrincipal = new HashSet<TrainRecord>(
			0);
	private Set<SkillVerify> skillVerifiesForCheckId = new HashSet<SkillVerify>(
			0);
	private Set<QualityPerson> qualityPersonsForStudentId = new HashSet<QualityPerson>(
			0);

	public UserBaseInfo() {
	}

	public UserBaseInfo(String userName, byte userType, byte accountState,
			boolean sex, boolean trainState, boolean deleted,
			boolean canNotCertification, boolean canTransform, byte userState) {
		this.userName = userName;
		this.userType = userType;
		this.accountState = accountState;
		this.sex = sex;
		this.trainState = trainState;
		this.deleted = deleted;
		this.canNotCertification = canNotCertification;
		this.canTransform = canTransform;
		this.userState = userState;
	}

	public UserBaseInfo(Organize organize, String userName, String spell,
			String passport, String identityCard, String email, byte userType,
			String phone, Date createDate, String headImgUrl,
			byte accountState, boolean sex, boolean trainState, String nation,
			String nativePlace, String politicsStataus, String homeAddress,
			String postcode, boolean deleted, String pinYinSx,
			boolean canNotCertification, boolean canTransform, byte userState,
			Set<SimulatorTaskDocDetails> simulatorTaskDocDetailsesForTeacherId,
			Set<MessageRelatedPerson> messageRelatedPersons,
			Set<TrainNoticePartUserBaseInfo> trainNoticePartUserBaseInfos,
			Set<AuthGroup> authGroupsForOperatorId,
			Set<SysUser> sysUsersForOperatorId, Set<TrainNotice> trainNotices,
			Set<SimulatorTaskDocDetails> simulatorTaskDocDetailsesForLeftUser,
			Set<License> licenses, Set<SysUser> sysUsersForUserBaseInfoId,
			Set<FlyTrainRecord> flyTrainRecords,
			Set<TrainPlan> trainPlansForCreateUserId,
			Set<TrainStandard> trainStandards,
			Set<QualityInspection> qualityInspections, Teacher teacher,
			Set<TaskDoc> taskDocsForCreaterId,
			Set<StudentResit> studentResitsForDirectorId,
			Set<SimulatorTaskDoc> simulatorTaskDocsForCreaterId,
			Set<Journal> journals,
			Set<MainpointCertificate> mainpointCertificates,
			Set<TaskDocDetails> taskDocDetailsesForLeftUser,
			Set<SimulatorTaskDocDetails> simulatorTaskDocDetailsesForRightUser,
			Set<SimulatorTaskDoc> simulatorTaskDocsForOperatorId,
			Set<MessageContent> messageContentsForToUserId,
			Set<QualityPerson> qualityPersonsForTeacherId,
			Set<StudentRecommend> studentRecommendsForRefereeId,
			Set<TrainPlan> trainPlansForTeacherId,
			Set<StudentRecommend> studentRecommendsForCheckerId,
			Set<SkillVerify> skillVerifiesForTeacherId,
			Set<StudyExperience> studyExperiences,
			Set<MainPointStudyResult> mainPointStudyResults,
			Set<TaskDocDetails> taskDocDetailsesForCrewUser,
			Set<Audit> auditsForAuditUser, UserFlyInfo userFlyInfo,
			Set<TaskDocDetails> taskDocDetailsesForRightUser,
			Set<StudentResit> studentResitsForStudentId,
			Set<AuthGroup> authGroupsForCreaterId,
			Set<TeacherStudent> teacherStudentsForStudentId,
			Set<TrainRecord> trainRecordsForTrainUserId,
			Set<Handbook> handbooks,
			Set<UserBaseInfoMainPoint> userBaseInfoMainPoints,
			Set<WorkExperience> workExperiences,
			Set<Audit> auditsForCreateUser,
			Set<TeacherOtherTime> teacherOtherTimes,
			Set<SysUser> sysUsersForCreaterId,
			Set<TaskDocDetails> taskDocDetailsesForDutyTeacher,
			Set<StudentRecommend> studentRecommendsForStudentId,
			Set<TaskDoc> taskDocsForOperatorId,
			Set<TrainPlan> trainPlansForStudentId, Student student,
			Set<TeacherStudent> teacherStudentsForTeacherId,
			Set<MessageContent> messageContentsForFromUserId,
			Set<TrainRecord> trainRecordsForPrincipal,
			Set<SkillVerify> skillVerifiesForCheckId,
			Set<QualityPerson> qualityPersonsForStudentId) {
		this.organize = organize;
		this.userName = userName;
		this.spell = spell;
		this.passport = passport;
		this.identityCard = identityCard;
		this.email = email;
		this.userType = userType;
		this.phone = phone;
		this.createDate = createDate;
		this.headImgUrl = headImgUrl;
		this.accountState = accountState;
		this.sex = sex;
		this.trainState = trainState;
		this.nation = nation;
		this.nativePlace = nativePlace;
		this.politicsStataus = politicsStataus;
		this.homeAddress = homeAddress;
		this.postcode = postcode;
		this.deleted = deleted;
		this.pinYinSx = pinYinSx;
		this.canNotCertification = canNotCertification;
		this.canTransform = canTransform;
		this.userState = userState;
		this.simulatorTaskDocDetailsesForTeacherId = simulatorTaskDocDetailsesForTeacherId;
		this.messageRelatedPersons = messageRelatedPersons;
		this.trainNoticePartUserBaseInfos = trainNoticePartUserBaseInfos;
		this.authGroupsForOperatorId = authGroupsForOperatorId;
		this.sysUsersForOperatorId = sysUsersForOperatorId;
		this.trainNotices = trainNotices;
		this.simulatorTaskDocDetailsesForLeftUser = simulatorTaskDocDetailsesForLeftUser;
		this.licenses = licenses;
		this.sysUsersForUserBaseInfoId = sysUsersForUserBaseInfoId;
		this.flyTrainRecords = flyTrainRecords;
		this.trainPlansForCreateUserId = trainPlansForCreateUserId;
		this.trainStandards = trainStandards;
		this.qualityInspections = qualityInspections;
		this.teacher = teacher;
		this.taskDocsForCreaterId = taskDocsForCreaterId;
		this.studentResitsForDirectorId = studentResitsForDirectorId;
		this.simulatorTaskDocsForCreaterId = simulatorTaskDocsForCreaterId;
		this.journals = journals;
		this.mainpointCertificates = mainpointCertificates;
		this.taskDocDetailsesForLeftUser = taskDocDetailsesForLeftUser;
		this.simulatorTaskDocDetailsesForRightUser = simulatorTaskDocDetailsesForRightUser;
		this.simulatorTaskDocsForOperatorId = simulatorTaskDocsForOperatorId;
		this.messageContentsForToUserId = messageContentsForToUserId;
		this.qualityPersonsForTeacherId = qualityPersonsForTeacherId;
		this.studentRecommendsForRefereeId = studentRecommendsForRefereeId;
		this.trainPlansForTeacherId = trainPlansForTeacherId;
		this.studentRecommendsForCheckerId = studentRecommendsForCheckerId;
		this.skillVerifiesForTeacherId = skillVerifiesForTeacherId;
		this.studyExperiences = studyExperiences;
		this.mainPointStudyResults = mainPointStudyResults;
		this.taskDocDetailsesForCrewUser = taskDocDetailsesForCrewUser;
		this.auditsForAuditUser = auditsForAuditUser;
		this.userFlyInfo = userFlyInfo;
		this.taskDocDetailsesForRightUser = taskDocDetailsesForRightUser;
		this.studentResitsForStudentId = studentResitsForStudentId;
		this.authGroupsForCreaterId = authGroupsForCreaterId;
		this.teacherStudentsForStudentId = teacherStudentsForStudentId;
		this.trainRecordsForTrainUserId = trainRecordsForTrainUserId;
		this.handbooks = handbooks;
		this.userBaseInfoMainPoints = userBaseInfoMainPoints;
		this.workExperiences = workExperiences;
		this.auditsForCreateUser = auditsForCreateUser;
		this.teacherOtherTimes = teacherOtherTimes;
		this.sysUsersForCreaterId = sysUsersForCreaterId;
		this.taskDocDetailsesForDutyTeacher = taskDocDetailsesForDutyTeacher;
		this.studentRecommendsForStudentId = studentRecommendsForStudentId;
		this.taskDocsForOperatorId = taskDocsForOperatorId;
		this.trainPlansForStudentId = trainPlansForStudentId;
		this.student = student;
		this.teacherStudentsForTeacherId = teacherStudentsForTeacherId;
		this.messageContentsForFromUserId = messageContentsForFromUserId;
		this.trainRecordsForPrincipal = trainRecordsForPrincipal;
		this.skillVerifiesForCheckId = skillVerifiesForCheckId;
		this.qualityPersonsForStudentId = qualityPersonsForStudentId;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ORGANIZE")
	public Organize getOrganize() {
		return this.organize;
	}

	public void setOrganize(Organize organize) {
		this.organize = organize;
	}

	@Column(name = "USER_NAME", nullable = false, length = 30)
	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "SPELL", length = 60)
	public String getSpell() {
		return this.spell;
	}

	public void setSpell(String spell) {
		this.spell = spell;
	}

	@Column(name = "PASSPORT", length = 20)
	public String getPassport() {
		return this.passport;
	}

	public void setPassport(String passport) {
		this.passport = passport;
	}

	@Column(name = "IDENTITY_CARD", length = 20)
	public String getIdentityCard() {
		return this.identityCard;
	}

	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}

	@Column(name = "EMAIL", length = 60)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "USER_TYPE", nullable = false)
	public byte getUserType() {
		return this.userType;
	}

	public void setUserType(byte userType) {
		this.userType = userType;
	}

	@Column(name = "PHONE", length = 20)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATE_DATE", length = 19)
	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Column(name = "HEAD_IMG_URL", length = 200)
	public String getHeadImgUrl() {
		return this.headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	@Column(name = "ACCOUNT_STATE", nullable = false)
	public byte getAccountState() {
		return this.accountState;
	}

	public void setAccountState(byte accountState) {
		this.accountState = accountState;
	}

	@Column(name = "SEX", nullable = false)
	public boolean isSex() {
		return this.sex;
	}

	public void setSex(boolean sex) {
		this.sex = sex;
	}

	@Column(name = "TRAIN_STATE", nullable = false)
	public boolean isTrainState() {
		return this.trainState;
	}

	public void setTrainState(boolean trainState) {
		this.trainState = trainState;
	}

	@Column(name = "NATION", length = 20)
	public String getNation() {
		return this.nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	@Column(name = "NATIVE_PLACE", length = 20)
	public String getNativePlace() {
		return this.nativePlace;
	}

	public void setNativePlace(String nativePlace) {
		this.nativePlace = nativePlace;
	}

	@Column(name = "POLITICS_STATAUS", length = 20)
	public String getPoliticsStataus() {
		return this.politicsStataus;
	}

	public void setPoliticsStataus(String politicsStataus) {
		this.politicsStataus = politicsStataus;
	}

	@Column(name = "HOME_ADDRESS", length = 200)
	public String getHomeAddress() {
		return this.homeAddress;
	}

	public void setHomeAddress(String homeAddress) {
		this.homeAddress = homeAddress;
	}

	@Column(name = "POSTCODE", length = 20)
	public String getPostcode() {
		return this.postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	@Column(name = "DELETED", nullable = false)
	public boolean isDeleted() {
		return this.deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}

	@Column(name = "PIN_YIN_SX", length = 30)
	public String getPinYinSx() {
		return this.pinYinSx;
	}

	public void setPinYinSx(String pinYinSx) {
		this.pinYinSx = pinYinSx;
	}

	@Column(name = "CAN_NOT_CERTIFICATION", nullable = false)
	public boolean isCanNotCertification() {
		return this.canNotCertification;
	}

	public void setCanNotCertification(boolean canNotCertification) {
		this.canNotCertification = canNotCertification;
	}

	@Column(name = "CAN_TRANSFORM", nullable = false)
	public boolean isCanTransform() {
		return this.canTransform;
	}

	public void setCanTransform(boolean canTransform) {
		this.canTransform = canTransform;
	}

	@Column(name = "USER_STATE", nullable = false)
	public byte getUserState() {
		return this.userState;
	}

	public void setUserState(byte userState) {
		this.userState = userState;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByTeacherId")
	public Set<SimulatorTaskDocDetails> getSimulatorTaskDocDetailsesForTeacherId() {
		return this.simulatorTaskDocDetailsesForTeacherId;
	}

	public void setSimulatorTaskDocDetailsesForTeacherId(
			Set<SimulatorTaskDocDetails> simulatorTaskDocDetailsesForTeacherId) {
		this.simulatorTaskDocDetailsesForTeacherId = simulatorTaskDocDetailsesForTeacherId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<MessageRelatedPerson> getMessageRelatedPersons() {
		return this.messageRelatedPersons;
	}

	public void setMessageRelatedPersons(
			Set<MessageRelatedPerson> messageRelatedPersons) {
		this.messageRelatedPersons = messageRelatedPersons;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<TrainNoticePartUserBaseInfo> getTrainNoticePartUserBaseInfos() {
		return this.trainNoticePartUserBaseInfos;
	}

	public void setTrainNoticePartUserBaseInfos(
			Set<TrainNoticePartUserBaseInfo> trainNoticePartUserBaseInfos) {
		this.trainNoticePartUserBaseInfos = trainNoticePartUserBaseInfos;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByOperatorId")
	public Set<AuthGroup> getAuthGroupsForOperatorId() {
		return this.authGroupsForOperatorId;
	}

	public void setAuthGroupsForOperatorId(
			Set<AuthGroup> authGroupsForOperatorId) {
		this.authGroupsForOperatorId = authGroupsForOperatorId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByOperatorId")
	public Set<SysUser> getSysUsersForOperatorId() {
		return this.sysUsersForOperatorId;
	}

	public void setSysUsersForOperatorId(Set<SysUser> sysUsersForOperatorId) {
		this.sysUsersForOperatorId = sysUsersForOperatorId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<TrainNotice> getTrainNotices() {
		return this.trainNotices;
	}

	public void setTrainNotices(Set<TrainNotice> trainNotices) {
		this.trainNotices = trainNotices;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByLeftUser")
	public Set<SimulatorTaskDocDetails> getSimulatorTaskDocDetailsesForLeftUser() {
		return this.simulatorTaskDocDetailsesForLeftUser;
	}

	public void setSimulatorTaskDocDetailsesForLeftUser(
			Set<SimulatorTaskDocDetails> simulatorTaskDocDetailsesForLeftUser) {
		this.simulatorTaskDocDetailsesForLeftUser = simulatorTaskDocDetailsesForLeftUser;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<License> getLicenses() {
		return this.licenses;
	}

	public void setLicenses(Set<License> licenses) {
		this.licenses = licenses;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByUserBaseInfoId")
	public Set<SysUser> getSysUsersForUserBaseInfoId() {
		return this.sysUsersForUserBaseInfoId;
	}

	public void setSysUsersForUserBaseInfoId(
			Set<SysUser> sysUsersForUserBaseInfoId) {
		this.sysUsersForUserBaseInfoId = sysUsersForUserBaseInfoId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<FlyTrainRecord> getFlyTrainRecords() {
		return this.flyTrainRecords;
	}

	public void setFlyTrainRecords(Set<FlyTrainRecord> flyTrainRecords) {
		this.flyTrainRecords = flyTrainRecords;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByCreateUserId")
	public Set<TrainPlan> getTrainPlansForCreateUserId() {
		return this.trainPlansForCreateUserId;
	}

	public void setTrainPlansForCreateUserId(
			Set<TrainPlan> trainPlansForCreateUserId) {
		this.trainPlansForCreateUserId = trainPlansForCreateUserId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<TrainStandard> getTrainStandards() {
		return this.trainStandards;
	}

	public void setTrainStandards(Set<TrainStandard> trainStandards) {
		this.trainStandards = trainStandards;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<QualityInspection> getQualityInspections() {
		return this.qualityInspections;
	}

	public void setQualityInspections(Set<QualityInspection> qualityInspections) {
		this.qualityInspections = qualityInspections;
	}

	@OneToOne(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Teacher getTeacher() {
		return this.teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByCreaterId")
	public Set<TaskDoc> getTaskDocsForCreaterId() {
		return this.taskDocsForCreaterId;
	}

	public void setTaskDocsForCreaterId(Set<TaskDoc> taskDocsForCreaterId) {
		this.taskDocsForCreaterId = taskDocsForCreaterId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByDirectorId")
	public Set<StudentResit> getStudentResitsForDirectorId() {
		return this.studentResitsForDirectorId;
	}

	public void setStudentResitsForDirectorId(
			Set<StudentResit> studentResitsForDirectorId) {
		this.studentResitsForDirectorId = studentResitsForDirectorId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByCreaterId")
	public Set<SimulatorTaskDoc> getSimulatorTaskDocsForCreaterId() {
		return this.simulatorTaskDocsForCreaterId;
	}

	public void setSimulatorTaskDocsForCreaterId(
			Set<SimulatorTaskDoc> simulatorTaskDocsForCreaterId) {
		this.simulatorTaskDocsForCreaterId = simulatorTaskDocsForCreaterId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<Journal> getJournals() {
		return this.journals;
	}

	public void setJournals(Set<Journal> journals) {
		this.journals = journals;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<MainpointCertificate> getMainpointCertificates() {
		return this.mainpointCertificates;
	}

	public void setMainpointCertificates(
			Set<MainpointCertificate> mainpointCertificates) {
		this.mainpointCertificates = mainpointCertificates;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByLeftUser")
	public Set<TaskDocDetails> getTaskDocDetailsesForLeftUser() {
		return this.taskDocDetailsesForLeftUser;
	}

	public void setTaskDocDetailsesForLeftUser(
			Set<TaskDocDetails> taskDocDetailsesForLeftUser) {
		this.taskDocDetailsesForLeftUser = taskDocDetailsesForLeftUser;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByRightUser")
	public Set<SimulatorTaskDocDetails> getSimulatorTaskDocDetailsesForRightUser() {
		return this.simulatorTaskDocDetailsesForRightUser;
	}

	public void setSimulatorTaskDocDetailsesForRightUser(
			Set<SimulatorTaskDocDetails> simulatorTaskDocDetailsesForRightUser) {
		this.simulatorTaskDocDetailsesForRightUser = simulatorTaskDocDetailsesForRightUser;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByOperatorId")
	public Set<SimulatorTaskDoc> getSimulatorTaskDocsForOperatorId() {
		return this.simulatorTaskDocsForOperatorId;
	}

	public void setSimulatorTaskDocsForOperatorId(
			Set<SimulatorTaskDoc> simulatorTaskDocsForOperatorId) {
		this.simulatorTaskDocsForOperatorId = simulatorTaskDocsForOperatorId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByToUserId")
	public Set<MessageContent> getMessageContentsForToUserId() {
		return this.messageContentsForToUserId;
	}

	public void setMessageContentsForToUserId(
			Set<MessageContent> messageContentsForToUserId) {
		this.messageContentsForToUserId = messageContentsForToUserId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByTeacherId")
	public Set<QualityPerson> getQualityPersonsForTeacherId() {
		return this.qualityPersonsForTeacherId;
	}

	public void setQualityPersonsForTeacherId(
			Set<QualityPerson> qualityPersonsForTeacherId) {
		this.qualityPersonsForTeacherId = qualityPersonsForTeacherId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByRefereeId")
	public Set<StudentRecommend> getStudentRecommendsForRefereeId() {
		return this.studentRecommendsForRefereeId;
	}

	public void setStudentRecommendsForRefereeId(
			Set<StudentRecommend> studentRecommendsForRefereeId) {
		this.studentRecommendsForRefereeId = studentRecommendsForRefereeId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByTeacherId")
	public Set<TrainPlan> getTrainPlansForTeacherId() {
		return this.trainPlansForTeacherId;
	}

	public void setTrainPlansForTeacherId(Set<TrainPlan> trainPlansForTeacherId) {
		this.trainPlansForTeacherId = trainPlansForTeacherId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByCheckerId")
	public Set<StudentRecommend> getStudentRecommendsForCheckerId() {
		return this.studentRecommendsForCheckerId;
	}

	public void setStudentRecommendsForCheckerId(
			Set<StudentRecommend> studentRecommendsForCheckerId) {
		this.studentRecommendsForCheckerId = studentRecommendsForCheckerId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByTeacherId")
	public Set<SkillVerify> getSkillVerifiesForTeacherId() {
		return this.skillVerifiesForTeacherId;
	}

	public void setSkillVerifiesForTeacherId(
			Set<SkillVerify> skillVerifiesForTeacherId) {
		this.skillVerifiesForTeacherId = skillVerifiesForTeacherId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<StudyExperience> getStudyExperiences() {
		return this.studyExperiences;
	}

	public void setStudyExperiences(Set<StudyExperience> studyExperiences) {
		this.studyExperiences = studyExperiences;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<MainPointStudyResult> getMainPointStudyResults() {
		return this.mainPointStudyResults;
	}

	public void setMainPointStudyResults(
			Set<MainPointStudyResult> mainPointStudyResults) {
		this.mainPointStudyResults = mainPointStudyResults;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByCrewUser")
	public Set<TaskDocDetails> getTaskDocDetailsesForCrewUser() {
		return this.taskDocDetailsesForCrewUser;
	}

	public void setTaskDocDetailsesForCrewUser(
			Set<TaskDocDetails> taskDocDetailsesForCrewUser) {
		this.taskDocDetailsesForCrewUser = taskDocDetailsesForCrewUser;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByAuditUser")
	public Set<Audit> getAuditsForAuditUser() {
		return this.auditsForAuditUser;
	}

	public void setAuditsForAuditUser(Set<Audit> auditsForAuditUser) {
		this.auditsForAuditUser = auditsForAuditUser;
	}

	@OneToOne(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public UserFlyInfo getUserFlyInfo() {
		return this.userFlyInfo;
	}

	public void setUserFlyInfo(UserFlyInfo userFlyInfo) {
		this.userFlyInfo = userFlyInfo;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByRightUser")
	public Set<TaskDocDetails> getTaskDocDetailsesForRightUser() {
		return this.taskDocDetailsesForRightUser;
	}

	public void setTaskDocDetailsesForRightUser(
			Set<TaskDocDetails> taskDocDetailsesForRightUser) {
		this.taskDocDetailsesForRightUser = taskDocDetailsesForRightUser;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByStudentId")
	public Set<StudentResit> getStudentResitsForStudentId() {
		return this.studentResitsForStudentId;
	}

	public void setStudentResitsForStudentId(
			Set<StudentResit> studentResitsForStudentId) {
		this.studentResitsForStudentId = studentResitsForStudentId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByCreaterId")
	public Set<AuthGroup> getAuthGroupsForCreaterId() {
		return this.authGroupsForCreaterId;
	}

	public void setAuthGroupsForCreaterId(Set<AuthGroup> authGroupsForCreaterId) {
		this.authGroupsForCreaterId = authGroupsForCreaterId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByStudentId")
	public Set<TeacherStudent> getTeacherStudentsForStudentId() {
		return this.teacherStudentsForStudentId;
	}

	public void setTeacherStudentsForStudentId(
			Set<TeacherStudent> teacherStudentsForStudentId) {
		this.teacherStudentsForStudentId = teacherStudentsForStudentId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByTrainUserId")
	public Set<TrainRecord> getTrainRecordsForTrainUserId() {
		return this.trainRecordsForTrainUserId;
	}

	public void setTrainRecordsForTrainUserId(
			Set<TrainRecord> trainRecordsForTrainUserId) {
		this.trainRecordsForTrainUserId = trainRecordsForTrainUserId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<Handbook> getHandbooks() {
		return this.handbooks;
	}

	public void setHandbooks(Set<Handbook> handbooks) {
		this.handbooks = handbooks;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<UserBaseInfoMainPoint> getUserBaseInfoMainPoints() {
		return this.userBaseInfoMainPoints;
	}

	public void setUserBaseInfoMainPoints(
			Set<UserBaseInfoMainPoint> userBaseInfoMainPoints) {
		this.userBaseInfoMainPoints = userBaseInfoMainPoints;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<WorkExperience> getWorkExperiences() {
		return this.workExperiences;
	}

	public void setWorkExperiences(Set<WorkExperience> workExperiences) {
		this.workExperiences = workExperiences;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByCreateUser")
	public Set<Audit> getAuditsForCreateUser() {
		return this.auditsForCreateUser;
	}

	public void setAuditsForCreateUser(Set<Audit> auditsForCreateUser) {
		this.auditsForCreateUser = auditsForCreateUser;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Set<TeacherOtherTime> getTeacherOtherTimes() {
		return this.teacherOtherTimes;
	}

	public void setTeacherOtherTimes(Set<TeacherOtherTime> teacherOtherTimes) {
		this.teacherOtherTimes = teacherOtherTimes;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByCreaterId")
	public Set<SysUser> getSysUsersForCreaterId() {
		return this.sysUsersForCreaterId;
	}

	public void setSysUsersForCreaterId(Set<SysUser> sysUsersForCreaterId) {
		this.sysUsersForCreaterId = sysUsersForCreaterId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByDutyTeacher")
	public Set<TaskDocDetails> getTaskDocDetailsesForDutyTeacher() {
		return this.taskDocDetailsesForDutyTeacher;
	}

	public void setTaskDocDetailsesForDutyTeacher(
			Set<TaskDocDetails> taskDocDetailsesForDutyTeacher) {
		this.taskDocDetailsesForDutyTeacher = taskDocDetailsesForDutyTeacher;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByStudentId")
	public Set<StudentRecommend> getStudentRecommendsForStudentId() {
		return this.studentRecommendsForStudentId;
	}

	public void setStudentRecommendsForStudentId(
			Set<StudentRecommend> studentRecommendsForStudentId) {
		this.studentRecommendsForStudentId = studentRecommendsForStudentId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByOperatorId")
	public Set<TaskDoc> getTaskDocsForOperatorId() {
		return this.taskDocsForOperatorId;
	}

	public void setTaskDocsForOperatorId(Set<TaskDoc> taskDocsForOperatorId) {
		this.taskDocsForOperatorId = taskDocsForOperatorId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByStudentId")
	public Set<TrainPlan> getTrainPlansForStudentId() {
		return this.trainPlansForStudentId;
	}

	public void setTrainPlansForStudentId(Set<TrainPlan> trainPlansForStudentId) {
		this.trainPlansForStudentId = trainPlansForStudentId;
	}

	@OneToOne(fetch = FetchType.LAZY, mappedBy = "userBaseInfo")
	public Student getStudent() {
		return this.student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByTeacherId")
	public Set<TeacherStudent> getTeacherStudentsForTeacherId() {
		return this.teacherStudentsForTeacherId;
	}

	public void setTeacherStudentsForTeacherId(
			Set<TeacherStudent> teacherStudentsForTeacherId) {
		this.teacherStudentsForTeacherId = teacherStudentsForTeacherId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByFromUserId")
	public Set<MessageContent> getMessageContentsForFromUserId() {
		return this.messageContentsForFromUserId;
	}

	public void setMessageContentsForFromUserId(
			Set<MessageContent> messageContentsForFromUserId) {
		this.messageContentsForFromUserId = messageContentsForFromUserId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByPrincipal")
	public Set<TrainRecord> getTrainRecordsForPrincipal() {
		return this.trainRecordsForPrincipal;
	}

	public void setTrainRecordsForPrincipal(
			Set<TrainRecord> trainRecordsForPrincipal) {
		this.trainRecordsForPrincipal = trainRecordsForPrincipal;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByCheckId")
	public Set<SkillVerify> getSkillVerifiesForCheckId() {
		return this.skillVerifiesForCheckId;
	}

	public void setSkillVerifiesForCheckId(
			Set<SkillVerify> skillVerifiesForCheckId) {
		this.skillVerifiesForCheckId = skillVerifiesForCheckId;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "userBaseInfoByStudentId")
	public Set<QualityPerson> getQualityPersonsForStudentId() {
		return this.qualityPersonsForStudentId;
	}

	public void setQualityPersonsForStudentId(
			Set<QualityPerson> qualityPersonsForStudentId) {
		this.qualityPersonsForStudentId = qualityPersonsForStudentId;
	}

}
